// samsting : this file is auto create.

#include "Ecs/2014-05-26/CreateInstanceRequest.h"

namespace aliyun { namespace Ecs {

CreateInstanceRequest::CreateInstanceRequest() : RpcAcsRequest("Ecs", "2014-05-26", "CreateInstance") {
}

int64 CreateInstanceRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void CreateInstanceRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& CreateInstanceRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void CreateInstanceRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 CreateInstanceRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void CreateInstanceRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& CreateInstanceRequest::GetImageId(void) const {
  return ImageId_;
}
void CreateInstanceRequest::SetImageId(const string& ImageId) {
  ImageId_ = ImageId;
  PutQueryParameter("ImageId", ImageId_);
}

const string& CreateInstanceRequest::GetInstanceType(void) const {
  return InstanceType_;
}
void CreateInstanceRequest::SetInstanceType(const string& InstanceType) {
  InstanceType_ = InstanceType;
  PutQueryParameter("InstanceType", InstanceType_);
}

const string& CreateInstanceRequest::GetSecurityGroupId(void) const {
  return SecurityGroupId_;
}
void CreateInstanceRequest::SetSecurityGroupId(const string& SecurityGroupId) {
  SecurityGroupId_ = SecurityGroupId;
  PutQueryParameter("SecurityGroupId", SecurityGroupId_);
}

const string& CreateInstanceRequest::GetInstanceName(void) const {
  return InstanceName_;
}
void CreateInstanceRequest::SetInstanceName(const string& InstanceName) {
  InstanceName_ = InstanceName;
  PutQueryParameter("InstanceName", InstanceName_);
}

const string& CreateInstanceRequest::GetInternetChargeType(void) const {
  return InternetChargeType_;
}
void CreateInstanceRequest::SetInternetChargeType(const string& InternetChargeType) {
  InternetChargeType_ = InternetChargeType;
  PutQueryParameter("InternetChargeType", InternetChargeType_);
}

int CreateInstanceRequest::GetInternetMaxBandwidthIn(void) const {
  return InternetMaxBandwidthIn_;
}
bool CreateInstanceRequest::SetInternetMaxBandwidthIn(int InternetMaxBandwidthIn) {
  if(InternetMaxBandwidthIn < 1) {
    return false;
  }
  if(InternetMaxBandwidthIn > 200) {
    return false;
  }
  InternetMaxBandwidthIn_ = InternetMaxBandwidthIn;
  PutQueryParameter("InternetMaxBandwidthIn", string_ValueOfInt(InternetMaxBandwidthIn_));
  return true;
}

int CreateInstanceRequest::GetInternetMaxBandwidthOut(void) const {
  return InternetMaxBandwidthOut_;
}
void CreateInstanceRequest::SetInternetMaxBandwidthOut(int InternetMaxBandwidthOut) {
  InternetMaxBandwidthOut_ = InternetMaxBandwidthOut;
  PutQueryParameter("InternetMaxBandwidthOut", string_ValueOfInt(InternetMaxBandwidthOut_));
}

const string& CreateInstanceRequest::GetHostName(void) const {
  return HostName_;
}
void CreateInstanceRequest::SetHostName(const string& HostName) {
  HostName_ = HostName;
  PutQueryParameter("HostName", HostName_);
}

const string& CreateInstanceRequest::GetPassword(void) const {
  return Password_;
}
void CreateInstanceRequest::SetPassword(const string& Password) {
  Password_ = Password;
  PutQueryParameter("Password", Password_);
}

const string& CreateInstanceRequest::GetZoneId(void) const {
  return ZoneId_;
}
void CreateInstanceRequest::SetZoneId(const string& ZoneId) {
  ZoneId_ = ZoneId;
  PutQueryParameter("ZoneId", ZoneId_);
}

const string& CreateInstanceRequest::GetClusterId(void) const {
  return ClusterId_;
}
void CreateInstanceRequest::SetClusterId(const string& ClusterId) {
  ClusterId_ = ClusterId;
  PutQueryParameter("ClusterId", ClusterId_);
}

const string& CreateInstanceRequest::GetClientToken(void) const {
  return ClientToken_;
}
void CreateInstanceRequest::SetClientToken(const string& ClientToken) {
  ClientToken_ = ClientToken;
  PutQueryParameter("ClientToken", ClientToken_);
}

const string& CreateInstanceRequest::GetVlanId(void) const {
  return VlanId_;
}
void CreateInstanceRequest::SetVlanId(const string& VlanId) {
  VlanId_ = VlanId;
  PutQueryParameter("VlanId", VlanId_);
}

const string& CreateInstanceRequest::GetInnerIpAddress(void) const {
  return InnerIpAddress_;
}
void CreateInstanceRequest::SetInnerIpAddress(const string& InnerIpAddress) {
  InnerIpAddress_ = InnerIpAddress;
  PutQueryParameter("InnerIpAddress", InnerIpAddress_);
}

const string& CreateInstanceRequest::GetSystemDisk_Category(void) const {
  return SystemDisk_Category_;
}
void CreateInstanceRequest::SetSystemDisk_Category(const string& SystemDisk_Category) {
  SystemDisk_Category_ = SystemDisk_Category;
  PutQueryParameter("SystemDisk.Category", SystemDisk_Category_);
}

const string& CreateInstanceRequest::GetSystemDisk_DiskName(void) const {
  return SystemDisk_DiskName_;
}
void CreateInstanceRequest::SetSystemDisk_DiskName(const string& SystemDisk_DiskName) {
  SystemDisk_DiskName_ = SystemDisk_DiskName;
  PutQueryParameter("SystemDisk.DiskName", SystemDisk_DiskName_);
}

const string& CreateInstanceRequest::GetSystemDisk_Description(void) const {
  return SystemDisk_Description_;
}
void CreateInstanceRequest::SetSystemDisk_Description(const string& SystemDisk_Description) {
  SystemDisk_Description_ = SystemDisk_Description;
  PutQueryParameter("SystemDisk.Description", SystemDisk_Description_);
}

int CreateInstanceRequest::GetDataDisk_1_Size(void) const {
  return DataDisk_1_Size_;
}
void CreateInstanceRequest::SetDataDisk_1_Size(int DataDisk_1_Size) {
  DataDisk_1_Size_ = DataDisk_1_Size;
  PutQueryParameter("DataDisk.1.Size", string_ValueOfInt(DataDisk_1_Size_));
}

const string& CreateInstanceRequest::GetDataDisk_1_Category(void) const {
  return DataDisk_1_Category_;
}
void CreateInstanceRequest::SetDataDisk_1_Category(const string& DataDisk_1_Category) {
  DataDisk_1_Category_ = DataDisk_1_Category;
  PutQueryParameter("DataDisk.1.Category", DataDisk_1_Category_);
}

const string& CreateInstanceRequest::GetDataDisk_1_SnapshotId(void) const {
  return DataDisk_1_SnapshotId_;
}
void CreateInstanceRequest::SetDataDisk_1_SnapshotId(const string& DataDisk_1_SnapshotId) {
  DataDisk_1_SnapshotId_ = DataDisk_1_SnapshotId;
  PutQueryParameter("DataDisk.1.SnapshotId", DataDisk_1_SnapshotId_);
}

const string& CreateInstanceRequest::GetDataDisk_1_DiskName(void) const {
  return DataDisk_1_DiskName_;
}
void CreateInstanceRequest::SetDataDisk_1_DiskName(const string& DataDisk_1_DiskName) {
  DataDisk_1_DiskName_ = DataDisk_1_DiskName;
  PutQueryParameter("DataDisk.1.DiskName", DataDisk_1_DiskName_);
}

const string& CreateInstanceRequest::GetDataDisk_1_Description(void) const {
  return DataDisk_1_Description_;
}
void CreateInstanceRequest::SetDataDisk_1_Description(const string& DataDisk_1_Description) {
  DataDisk_1_Description_ = DataDisk_1_Description;
  PutQueryParameter("DataDisk.1.Description", DataDisk_1_Description_);
}

const string& CreateInstanceRequest::GetDataDisk_1_Device(void) const {
  return DataDisk_1_Device_;
}
void CreateInstanceRequest::SetDataDisk_1_Device(const string& DataDisk_1_Device) {
  DataDisk_1_Device_ = DataDisk_1_Device;
  PutQueryParameter("DataDisk.1.Device", DataDisk_1_Device_);
}

bool CreateInstanceRequest::GetDataDisk_1_DeleteWithInstance(void) const {
  return DataDisk_1_DeleteWithInstance_;
}
void CreateInstanceRequest::SetDataDisk_1_DeleteWithInstance(bool DataDisk_1_DeleteWithInstance) {
  DataDisk_1_DeleteWithInstance_ = DataDisk_1_DeleteWithInstance;
  PutQueryParameter("DataDisk.1.DeleteWithInstance", string_ValueOfBool(DataDisk_1_DeleteWithInstance_));
}

int CreateInstanceRequest::GetDataDisk_2_Size(void) const {
  return DataDisk_2_Size_;
}
void CreateInstanceRequest::SetDataDisk_2_Size(int DataDisk_2_Size) {
  DataDisk_2_Size_ = DataDisk_2_Size;
  PutQueryParameter("DataDisk.2.Size", string_ValueOfInt(DataDisk_2_Size_));
}

const string& CreateInstanceRequest::GetDataDisk_2_Category(void) const {
  return DataDisk_2_Category_;
}
void CreateInstanceRequest::SetDataDisk_2_Category(const string& DataDisk_2_Category) {
  DataDisk_2_Category_ = DataDisk_2_Category;
  PutQueryParameter("DataDisk.2.Category", DataDisk_2_Category_);
}

const string& CreateInstanceRequest::GetDataDisk_2_SnapshotId(void) const {
  return DataDisk_2_SnapshotId_;
}
void CreateInstanceRequest::SetDataDisk_2_SnapshotId(const string& DataDisk_2_SnapshotId) {
  DataDisk_2_SnapshotId_ = DataDisk_2_SnapshotId;
  PutQueryParameter("DataDisk.2.SnapshotId", DataDisk_2_SnapshotId_);
}

const string& CreateInstanceRequest::GetDataDisk_2_DiskName(void) const {
  return DataDisk_2_DiskName_;
}
void CreateInstanceRequest::SetDataDisk_2_DiskName(const string& DataDisk_2_DiskName) {
  DataDisk_2_DiskName_ = DataDisk_2_DiskName;
  PutQueryParameter("DataDisk.2.DiskName", DataDisk_2_DiskName_);
}

const string& CreateInstanceRequest::GetDataDisk_2_Description(void) const {
  return DataDisk_2_Description_;
}
void CreateInstanceRequest::SetDataDisk_2_Description(const string& DataDisk_2_Description) {
  DataDisk_2_Description_ = DataDisk_2_Description;
  PutQueryParameter("DataDisk.2.Description", DataDisk_2_Description_);
}

const string& CreateInstanceRequest::GetDataDisk_2_Device(void) const {
  return DataDisk_2_Device_;
}
void CreateInstanceRequest::SetDataDisk_2_Device(const string& DataDisk_2_Device) {
  DataDisk_2_Device_ = DataDisk_2_Device;
  PutQueryParameter("DataDisk.2.Device", DataDisk_2_Device_);
}

bool CreateInstanceRequest::GetDataDisk_2_DeleteWithInstance(void) const {
  return DataDisk_2_DeleteWithInstance_;
}
void CreateInstanceRequest::SetDataDisk_2_DeleteWithInstance(bool DataDisk_2_DeleteWithInstance) {
  DataDisk_2_DeleteWithInstance_ = DataDisk_2_DeleteWithInstance;
  PutQueryParameter("DataDisk.2.DeleteWithInstance", string_ValueOfBool(DataDisk_2_DeleteWithInstance_));
}

int CreateInstanceRequest::GetDataDisk_3_Size(void) const {
  return DataDisk_3_Size_;
}
void CreateInstanceRequest::SetDataDisk_3_Size(int DataDisk_3_Size) {
  DataDisk_3_Size_ = DataDisk_3_Size;
  PutQueryParameter("DataDisk.3.Size", string_ValueOfInt(DataDisk_3_Size_));
}

const string& CreateInstanceRequest::GetDataDisk_3_Category(void) const {
  return DataDisk_3_Category_;
}
void CreateInstanceRequest::SetDataDisk_3_Category(const string& DataDisk_3_Category) {
  DataDisk_3_Category_ = DataDisk_3_Category;
  PutQueryParameter("DataDisk.3.Category", DataDisk_3_Category_);
}

const string& CreateInstanceRequest::GetDataDisk_3_SnapshotId(void) const {
  return DataDisk_3_SnapshotId_;
}
void CreateInstanceRequest::SetDataDisk_3_SnapshotId(const string& DataDisk_3_SnapshotId) {
  DataDisk_3_SnapshotId_ = DataDisk_3_SnapshotId;
  PutQueryParameter("DataDisk.3.SnapshotId", DataDisk_3_SnapshotId_);
}

const string& CreateInstanceRequest::GetDataDisk_3_DiskName(void) const {
  return DataDisk_3_DiskName_;
}
void CreateInstanceRequest::SetDataDisk_3_DiskName(const string& DataDisk_3_DiskName) {
  DataDisk_3_DiskName_ = DataDisk_3_DiskName;
  PutQueryParameter("DataDisk.3.DiskName", DataDisk_3_DiskName_);
}

const string& CreateInstanceRequest::GetDataDisk_3_Description(void) const {
  return DataDisk_3_Description_;
}
void CreateInstanceRequest::SetDataDisk_3_Description(const string& DataDisk_3_Description) {
  DataDisk_3_Description_ = DataDisk_3_Description;
  PutQueryParameter("DataDisk.3.Description", DataDisk_3_Description_);
}

const string& CreateInstanceRequest::GetDataDisk_3_Device(void) const {
  return DataDisk_3_Device_;
}
void CreateInstanceRequest::SetDataDisk_3_Device(const string& DataDisk_3_Device) {
  DataDisk_3_Device_ = DataDisk_3_Device;
  PutQueryParameter("DataDisk.3.Device", DataDisk_3_Device_);
}

bool CreateInstanceRequest::GetDataDisk_3_DeleteWithInstance(void) const {
  return DataDisk_3_DeleteWithInstance_;
}
void CreateInstanceRequest::SetDataDisk_3_DeleteWithInstance(bool DataDisk_3_DeleteWithInstance) {
  DataDisk_3_DeleteWithInstance_ = DataDisk_3_DeleteWithInstance;
  PutQueryParameter("DataDisk.3.DeleteWithInstance", string_ValueOfBool(DataDisk_3_DeleteWithInstance_));
}

int CreateInstanceRequest::GetDataDisk_4_Size(void) const {
  return DataDisk_4_Size_;
}
void CreateInstanceRequest::SetDataDisk_4_Size(int DataDisk_4_Size) {
  DataDisk_4_Size_ = DataDisk_4_Size;
  PutQueryParameter("DataDisk.4.Size", string_ValueOfInt(DataDisk_4_Size_));
}

const string& CreateInstanceRequest::GetDataDisk_4_Category(void) const {
  return DataDisk_4_Category_;
}
void CreateInstanceRequest::SetDataDisk_4_Category(const string& DataDisk_4_Category) {
  DataDisk_4_Category_ = DataDisk_4_Category;
  PutQueryParameter("DataDisk.4.Category", DataDisk_4_Category_);
}

const string& CreateInstanceRequest::GetDataDisk_4_SnapshotId(void) const {
  return DataDisk_4_SnapshotId_;
}
void CreateInstanceRequest::SetDataDisk_4_SnapshotId(const string& DataDisk_4_SnapshotId) {
  DataDisk_4_SnapshotId_ = DataDisk_4_SnapshotId;
  PutQueryParameter("DataDisk.4.SnapshotId", DataDisk_4_SnapshotId_);
}

const string& CreateInstanceRequest::GetDataDisk_4_DiskName(void) const {
  return DataDisk_4_DiskName_;
}
void CreateInstanceRequest::SetDataDisk_4_DiskName(const string& DataDisk_4_DiskName) {
  DataDisk_4_DiskName_ = DataDisk_4_DiskName;
  PutQueryParameter("DataDisk.4.DiskName", DataDisk_4_DiskName_);
}

const string& CreateInstanceRequest::GetDataDisk_4_Description(void) const {
  return DataDisk_4_Description_;
}
void CreateInstanceRequest::SetDataDisk_4_Description(const string& DataDisk_4_Description) {
  DataDisk_4_Description_ = DataDisk_4_Description;
  PutQueryParameter("DataDisk.4.Description", DataDisk_4_Description_);
}

const string& CreateInstanceRequest::GetDataDisk_4_Device(void) const {
  return DataDisk_4_Device_;
}
void CreateInstanceRequest::SetDataDisk_4_Device(const string& DataDisk_4_Device) {
  DataDisk_4_Device_ = DataDisk_4_Device;
  PutQueryParameter("DataDisk.4.Device", DataDisk_4_Device_);
}

bool CreateInstanceRequest::GetDataDisk_4_DeleteWithInstance(void) const {
  return DataDisk_4_DeleteWithInstance_;
}
void CreateInstanceRequest::SetDataDisk_4_DeleteWithInstance(bool DataDisk_4_DeleteWithInstance) {
  DataDisk_4_DeleteWithInstance_ = DataDisk_4_DeleteWithInstance;
  PutQueryParameter("DataDisk.4.DeleteWithInstance", string_ValueOfBool(DataDisk_4_DeleteWithInstance_));
}

const string& CreateInstanceRequest::GetNodeControllerId(void) const {
  return NodeControllerId_;
}
void CreateInstanceRequest::SetNodeControllerId(const string& NodeControllerId) {
  NodeControllerId_ = NodeControllerId;
  PutQueryParameter("NodeControllerId", NodeControllerId_);
}

const string& CreateInstanceRequest::GetDescription(void) const {
  return Description_;
}
void CreateInstanceRequest::SetDescription(const string& Description) {
  Description_ = Description;
  PutQueryParameter("Description", Description_);
}

const string& CreateInstanceRequest::GetVSwitchId(void) const {
  return VSwitchId_;
}
void CreateInstanceRequest::SetVSwitchId(const string& VSwitchId) {
  VSwitchId_ = VSwitchId;
  PutQueryParameter("VSwitchId", VSwitchId_);
}

const string& CreateInstanceRequest::GetPrivateIpAddress(void) const {
  return PrivateIpAddress_;
}
void CreateInstanceRequest::SetPrivateIpAddress(const string& PrivateIpAddress) {
  PrivateIpAddress_ = PrivateIpAddress;
  PutQueryParameter("PrivateIpAddress", PrivateIpAddress_);
}

const string& CreateInstanceRequest::GetIoOptimized(void) const {
  return IoOptimized_;
}
void CreateInstanceRequest::SetIoOptimized(const string& IoOptimized) {
  IoOptimized_ = IoOptimized;
  PutQueryParameter("IoOptimized", IoOptimized_);
}

const string& CreateInstanceRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void CreateInstanceRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}

bool CreateInstanceRequest::GetUseAdditionalService(void) const {
  return UseAdditionalService_;
}
void CreateInstanceRequest::SetUseAdditionalService(bool UseAdditionalService) {
  UseAdditionalService_ = UseAdditionalService;
  PutQueryParameter("UseAdditionalService", string_ValueOfBool(UseAdditionalService_));
}

const string& CreateInstanceRequest::GetInstanceChargeType(void) const {
  return InstanceChargeType_;
}
void CreateInstanceRequest::SetInstanceChargeType(const string& InstanceChargeType) {
  InstanceChargeType_ = InstanceChargeType;
  PutQueryParameter("InstanceChargeType", InstanceChargeType_);
}

int CreateInstanceRequest::GetPeriod(void) const {
  return Period_;
}
void CreateInstanceRequest::SetPeriod(int Period) {
  Period_ = Period;
  PutQueryParameter("Period", string_ValueOfInt(Period_));
}


} } // namespace aliyun { namespace Ecs {

// end of file 
